package rmi;

import java.io.Serializable;

public class Answer implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String answerContent;
	private boolean isShow;
	private int questionId;
	
	public Answer() {
		
	}
	
	public Answer(String answerContent, boolean isShow, int qid){
		this.answerContent = answerContent;
		this.isShow = isShow;
		this.questionId = qid;
	}

	public String getAnswerContent() {
		return answerContent;
	}

	public void setAnswerContent(String answerContent) {
		this.answerContent = answerContent;
	}

	public boolean isShow() {
		return isShow;
	}

	public void setShow(boolean isShow) {
		this.isShow = isShow;
	}

	public int getQuestionId() {
		return questionId;
	}

	public void setQuestionId(int questionId) {
		this.questionId = questionId;
	}
}
